package com.openbravo.pos.printer.escpos;

public class UnicodeTranslatorStar extends UnicodeTranslator
{
  public byte[] getCodeTable()
  {
    return new byte[] { 27, 29, 116, 1 };
  }

  public byte transChar(char paramChar)
  {
    if ((paramChar >= 0) && (paramChar < ''))
      return (byte)paramChar;
    switch (paramChar)
    {
    case 'Á':
      return 65;
    case 'É':
      return 69;
    case 'Í':
      return 73;
    case 'Ó':
      return 79;
    case 'Ú':
      return 85;
    case 'Ç':
      return -128;
    case 'ü':
      return -127;
    case 'é':
      return -126;
    case 'ä':
      return -124;
    case 'å':
      return -122;
    case 'ç':
      return -121;
    case 'Ä':
      return -114;
    case 'Å':
      return -113;
    case 'ö':
      return -108;
    case 'Ö':
      return -103;
    case 'Ü':
      return -102;
    case '£':
      return -100;
    case '¥':
      return -99;
    case 'á':
      return -96;
    case 'í':
      return -95;
    case 'ó':
      return -94;
    case 'ú':
      return -93;
    case 'ñ':
      return -92;
    case 'Ñ':
      return -91;
    case '¿':
      return -88;
    case '¡':
      return -83;
    case '€':
      return -18;
    }
    return 63;
  }
}

/* Location:           D:\PowerFulPOS-2.30.2\openbravopos.jar
 * Qualified Name:     com.openbravo.pos.printer.escpos.UnicodeTranslatorStar
 * JD-Core Version:    0.6.0
 */